package com.paul.sys.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by 羽 on 2016/1/5.
 */
public class GetSytemTime {

    public static String getTime() {

        Date nowTime = new Date(System.currentTimeMillis());
        SimpleDateFormat sdFormatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String retStrFormatNowDate = sdFormatter.format(nowTime);

        return retStrFormatNowDate;
    }

}
